-
Notifications
You must be signed in to change notification settings - Fork 830
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional TLS checks #7029
Additional TLS checks #7029
Conversation
e35c9e9
to
c070c01
Compare
Looks good to me, would like at least one other review on this though since the code changes will affect all TLS/DTLS users. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR looks good. It grows my build by 384 bytes. Should we consider a way to disable this feature, but keep it on by default?
I'd like Sean to review before its merged.
I don't think that its a good idea to remove these checks. These are important checks that are relevant for increasing security of all (D)TLS versions. |
- double check which messages need to be encrypted - check msgs that have to be last in a record ZD17108
c070c01
to
627310d
Compare
Retest this please. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR looks great. Can you please add a build option to disable this check for users that might not want it?
@dgarske build option added with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Over to @SparkiDev to finalize.
retest this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
passed a run through wolfssl-multi-test.sh ... super-quick-check
(latest sanitizers, clang-tidy
, and cppcheck
), rebased on current master
.
Retest this please |
ZD17108